package cn.iocoder.yudao.module.erp.controller.admin.stock.goods.vo;

import cn.iocoder.yudao.module.erp.controller.admin.stock.goodswarehouselink.vo.GoodsWarehouseLinkRespVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - BOM页的物品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class GoodsFromBomRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29312")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "物品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "手机")
    @ExcelProperty("物品名称")
    private String name;

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编号")
    private String code;

    @Schema(description = "规格型号")
    @ExcelProperty("规格型号")
    private String models;

    @Schema(description = "品牌")
    @ExcelProperty("品牌")
    private String brand;

    @Schema(description = "采购价格", example = "25231")
    @ExcelProperty("采购价格")
    private BigDecimal orderPrice;

    @Schema(description = "销售价格", example = "8376")
    @ExcelProperty("销售价格")
    private BigDecimal salePrice;

    @Schema(description = "制造商型号")
    @ExcelProperty("制造商型号")
    private String produceModel;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remarks;

    @Schema(description ="库存数据")
    @ExcelProperty("库存")
    private List<GoodsWarehouseLinkRespVO> warehouseList;

    @Schema(description ="总库存")
    @ExcelProperty("总库存")
    private BigDecimal inventory;

}